home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / initrd.lz / initrd / scripts / casper-bottom / 36disable_trackerd < prev    next >
Encoding:
Text File  |  2009-10-28  |  407 b   |  28 lines

  1. #! /bin/sh
  2.  
  3. PREREQ=""
  4. DESCRIPTION="Disabling trackerd..."
  5.  
  6. . /scripts/casper-functions
  7.  
  8. prereqs()
  9. {
  10.        echo "$PREREQ"
  11. }
  12.  
  13. case $1 in
  14. # get pre-requisites
  15. prereqs)
  16.        prereqs
  17.        exit 0
  18.        ;;
  19. esac
  20.  
  21. log_begin_msg "$DESCRIPTION"
  22.  
  23. rm -f /root/etc/xdg/autostart/tracker-applet.desktop \
  24.       /root/etc/xdg/autostart/trackerd.desktop \
  25.       /root/usr/share/autostart/trackerd.desktop
  26.  
  27. log_end_msg
  28.